package com.godpaper.as9.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.godpaper.as9.commands.GetClassInfoCommand;
	import com.godpaper.as9.commands.GetClassListCommand;
	import com.godpaper.as9.commands.TryCreateClassCommmand;
	import com.godpaper.as9.commands.TryDeleteClassCommand;

	public class ClassController extends FrontController
	{
		public static const GET_CLASS_INFO:String   = "getClassInfo";
		public static const GET_CLASS_LIST:String   = "getClassList";
		public static const TRY_CREATE_CLASS:String = "tryCreateClass";
		public static const TRY_DELETE_CLASS:String = "tryDeleteClass";
		
		public function ClassController()
		{
			super();
			
			addCommand(ClassController.GET_CLASS_INFO,GetClassInfoCommand);
			addCommand(ClassController.GET_CLASS_LIST,GetClassListCommand);
			addCommand(ClassController.TRY_CREATE_CLASS,TryCreateClassCommmand);
			addCommand(ClassController.TRY_DELETE_CLASS,TryDeleteClassCommand);
		}
		
	}
}